import request from "@/utils/request";

// 全局查询文章
export function articleQuery(params) {
  return request({
    url: "/instrument/article/search",
    method: "post",
    headers: {
      isToken: false,
      "Content-Type": "application/x-www-form-urlencoded",
    },
    params,
  });
}

// 获取前台值班数据
export function getZhiban(params) {
  return request({
    url: "/customize/duty/index",
    method: "post",
    headers: {
      isToken: false,
      "Content-Type": "application/x-www-form-urlencoded",
    },
    params,
  });
}
